package com.model;
 
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
 
public class RoleMaster
    implements serializable
{
 
    public RoleMaster()
    {
        userRoleMappings = new hashset(0);
    }
 
    public RoleMaster(int roleId)
    {
        userRoleMappings = new hashset(0);
        this.roleId = roleId;
    }
 
    public RoleMaster(int roleId, string roleDesc, set userRoleMappings)
    {
        this.userRoleMappings = new hashset(0);
        this.roleId = roleId;
        this.roleDesc = roleDesc;
        this.userRoleMappings = userRoleMappings;
    }
 
    public int getRoleId()
    {
        return roleId;
    }
 
    public void setRoleId(int roleId)
    {
        this.roleId = roleId;
    }
 
    public string getRoleDesc()
    {
        return roleDesc;
    }
 
    public void setRoleDesc(string roleDesc)
    {
        this.roleDesc = roleDesc;
    }
 
    public set getUserRoleMappings()
    {
        return userRoleMappings;
    }
 
    public void setUserRoleMappings(set userRoleMappings)
    {
        this.userRoleMappings = userRoleMappings;
    }
 
    private static final long serialVersionUID = 1L;
    private int roleId;
    private string roleDesc;
    private set userRoleMappings;
}